﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace V5_Common {
    /// <summary>
    /// 
    /// </summary>
    public interface IV5Helper {
        /// <summary>
        /// 获取列表
        /// </summary>
        DataTable Query_By(string what, string where, string orderby, int limit);
        /// <summary>
        /// 获取分类
        /// </summary>
        DataTable Query_By_List(string what, string where, string orderby, int limit);
        /// <summary>
        /// 获取分页
        /// </summary>
        DataTable Query_By_Pager(string what, string where, string orderby, int limit, int pageIndex, string UrlList);
        /// <summary>
        /// 获取列表详细
        /// </summary>
        DataRow Get_By(string ID);
        /// <summary>
        /// 获取分类详细
        /// </summary>
        DataRow Get_By_List(string ClassID);
        /// <summary>
        /// 详细页面地址
        /// </summary>
        string UrlView(object attributes);
        /// <summary>
        /// 分类列表地址
        /// </summary>
        string UrlList(object attributes);
    }
}
